#define _CRT_SECURE_NO_WARNINGS 1

#include "string.h"
#include <string>

int main()
{
	cxf::string s1("hello world");
	std::cout << s1 << std::endl;
	cxf::string::iterator it = s1.begin();
	while (it != s1.end())
	{
		std::cout << *it;
		++it;
	}
	std::cout << std::endl;

	cxf::string s2;
	std::cin >> s2;
	std::cout << s2 << std::endl;

	cxf::string s3;
	cxf::getline(std::cin, s3);
	std::cout << s3 << std::endl;

	if (s1 > s2) std::cout << "s1 > s2" << std::endl;
	else std::cout << "s1 <= s2" << std::endl;
	return 0;
}